import request from '@/utils/request'

// 查询投资人详情列表
export function listCharge_investor_detail(query) {
  return request({
    url: '/charge/charge_investor_detail/list',
    method: 'get',
    params: query
  })
}

// 查询投资人详情详细
export function getCharge_investor_detail(id) {
  return request({
    url: '/charge/charge_investor_detail/' + id,
    method: 'get'
  })
}

// 新增投资人详情
export function addCharge_investor_detail(data) {
  return request({
    url: '/charge/charge_investor_detail',
    method: 'post',
    data: data
  })
}

// 修改投资人详情
export function updateCharge_investor_detail(data) {
  return request({
    url: '/charge/charge_investor_detail',
    method: 'put',
    data: data
  })
}

// 删除投资人详情
export function delCharge_investor_detail(id) {
  return request({
    url: '/charge/charge_investor_detail/' + id,
    method: 'delete'
  })
}
